<?php
require_once './vendor/autoload.php';
$config = [
    'appid' => 'wx52132fbc4af00c3c',
    'appsecret' => 'd6f510dd21642e954ab01f374a55dcd0',
    'token' => '',
    'accessToken' => '',
    'encodingAESKey' => '',
    'mch_id' => '',
    'mch_key' => '',
    'sslCertPath' => '',
    'sslKeyPath' => '',
];

$wechat = new \Kangcg\WeChat\WeChat($config);

var_dump($wechat->getAccessToken());